import 'package:flutter/material.dart';

class NormalText extends StatelessWidget {
  const NormalText({
    super.key,
    this.text,
    this.fontSize,
    this.fontColor,
    this.fontWeight,
    this.textAlign,
    this.fontStyle,
    this.lineHeight,
  });

  final String? text;
  final double? fontSize;
  final Color? fontColor;
  final FontWeight? fontWeight;
  final TextAlign? textAlign;
  final FontStyle? fontStyle;
  final double? lineHeight;

  @override
  Widget build(BuildContext context) {
    return Text(
      textAlign: textAlign,
      text ?? "",
      style: TextStyle(
        fontSize: fontSize,
        color: fontColor,
        fontWeight: fontWeight,
        fontStyle: fontStyle,
        height: lineHeight,
      ),
    );
  }
}
